package com.ruoyi.common.entity.DTO;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ProductExportDTO {
    @Excel(name = "商品名称(必填)",height = 15.6,width=46.56)
    private String productName;
    private String productCategory;
    @Excel(name = "大类(必填)",height = 15.6,width=12.22)
    private String firstCategoryName;
    @Excel(name = "子类",height = 15.6,width=12.22)
    private String secondCategoryName;
    private String skuJson;
    @Excel(name = "规格SKU(必填)",height = 15.6,width=14.56)
    private String skuString;
    @Excel(name = "购买单位",height = 15.6,width=12.22)
    private String buyUnit;
    @Excel(name = "商品条码(必填)",height = 15.6,width=21.72)
    private String skuCode;
    @Excel(name = "备注",height = 15.6,width=16.33)
    private String appendRemark;
    //9有规格（拆分N个单元格，SKU成本价），无规格（“商品成本价”）
    @Excel(name = "成本价(必填)",height = 15.6,width=12.22)
    private BigDecimal buyPrice;
    //11有规格（拆分N个单元格，SKU销售价格），无规格（“商品销售价格”）
    @Excel(name = "销售价(必填)",height = 15.6,width=12.22)
    private BigDecimal price;
    //11有规格（拆分N个单元格，SKU库存），无规格（“商品库存”）
    @Excel(name = "库存(必填)",defaultValue="0",height = 15.6,width=12.22)
    private Integer stock;
    //11有规格（拆分N个单元格，SKU重量），无规格（“商品重量”）
    @Excel(name = "重量(g)",defaultValue="0",height = 15.6,width=12.22)
    private Double weight;
    @Excel(name = "排序",defaultValue="0",height = 15.6,width=12.22)
    private Integer orderNum;
    private Integer skuCount;
}
